package com.roomio.notification.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Type;

@Entity
@Table (name="SYS_BROADCAST")
public class BroadcastNotification  extends Notification {

	@Column (name="REMINDER_SUBJECT")
	private String subject;
	
	@Column (name="START_DATE")
	private Date startDate;

	@Column (name="END_DATE")
	private Date endDate;
	
	@Column (name="IS_ACTIVE", length=1)
	@Type (type="yes_no")
	private Boolean isActive;

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Boolean getIsActive() {
		return isActive;
	}

	public void setIsActive(Boolean isActive) {
		this.isActive = isActive;
	}


}
